;
; Events text
; Copyright(c) 1998, MicroProse Studios Inc.
;
; Edited by Vegard Bjrketun 2000-2001 for the
; "Casus Belli: Magna Bellum Borealis 1700-1721" Scenario
;

@BEGINEVENTS
@DEBUG
@IF
SCENARIOLOADED
@THEN
DONTPLAYWONDERS
@ENDIF

@IF
NOSCHISM
defender=anybody
@THEN

@ENDIF

@IF
TURN
turn=1
@THEN
TEXT
^King August II of Poland-Saxony ignites the flames of war
^by launching an attack into Swedish Livonia from Courland.
^The advance of the invaders is halted at Riga, where the 
^strong Swedish garrison seizes control of the front...
ENDTEXT
@ENDIF

@IF
TURN
turn=2
@THEN
TEXT
^King Friderich IV of Denmark declares war on Sweden and 
^the duchy of Holstein-Gottorp!
ENDTEXT
MAKEAGGRESSION
who=Danes and Norwegians
whom=Swedes
@ENDIF

@IF
TURN
turn=2
@THEN
MAKEAGGRESSION
who=Danes and Norwegians
whom=Holstein-Gottorp
@ENDIF

@IF
TURN
turn=8
@THEN
TEXT
^Tzar Peter the Great of Russia declares war on the Swedes!
^Russian Prince Alexander D. Menshikov enters service,
^appointed General of Cavalry by the Tzar.
ENDTEXT
CREATEUNIT
unit=Menshikov
owner=Russians
veteran=yes
homecity=none
locations
141,61
endlocations
@ENDIF

@IF
TURN
turn=8
@THEN
MAKEAGGRESSION
who=Russians
whom=Swedes
@ENDIF

@IF
TURN
turn=12
@THEN
TEXT
^Friedrich III, Elector of Brandenburg, is crowned
^Knig Friedrich I of Prussia, on January 18th.
ENDTEXT
@ENDIF

@IF
TURN
turn=53
@THEN
TEXT
^22-year-old German Johann Jacob Bach enlists in the Swedish army.
^His younger brother, the famous Johann Sebastian Bach, composes
^a melancholic klavier suite as a farewell present:
^"Capriccio At the Departure of A Beloved Brother".
ENDTEXT
@ENDIF

@IF
TURN
turn=61
@THEN
TEXT
^Peter the Great decides to dissolve the rebellious Strelits guard.
ENDTEXT
GIVETECHNOLOGY
receiver=Russians
technology=24
@ENDIF

@IF
TURN
turn=100
@THEN
TEXT
^Talented Swedish General Count Adam Ludwig Lewenhaupt
^is appointed Governor of Riga and General of Infantry 
^by Carl XII.
ENDTEXT
CREATEUNIT
unit=Lewenhaupt
owner=Swedes
veteran=yes
homecity=none
locations
91,65
91,63
endlocations
@ENDIF

@IF
TURN
turn=101
@THEN
TEXT
^Ivan Mazepa, Hetman of the Zaporozhian Cossacks,
^starts a rebellion against the Russian oppressors,
^swearing allegiance to King Carl XII of Sweden!
ENDTEXT
CREATEUNIT
unit=Mazepa
owner=Swedes
veteran=yes
homecity=none
locations
117,113
117,115
endlocations
@ENDIF

@IF
TURN
turn=101
@THEN
CREATEUNIT
unit=Kossaky
owner=Swedes
veteran=no
homecity=none
locations
121,115
122,114
endlocations
@ENDIF

@IF
TURN
turn=101
@THEN
CREATEUNIT
unit=Kossaky
owner=Swedes
veteran=no
homecity=none
locations
118,112
117,111
endlocations
@ENDIF

@IF
TURN
turn=101
@THEN
CREATEUNIT
unit=Kossaky
owner=Swedes
veteran=no
homecity=none
locations
121,111
118,114
endlocations
@ENDIF

@IF
TURN
turn=101
@THEN
CREATEUNIT
unit=Kossaky
owner=Swedes
veteran=no
homecity=none
locations
119,113
123,111
endlocations
@ENDIF

@IF
TURN
turn=114
@THEN
TEXT
^Danish forces led by General Count Christian Reventlow land in Scania!
ENDTEXT
CREATEUNIT
unit=Reventlow
owner=Danes and Norwegians
veteran=yes
homecity=none
locations
49,73
50,72
endlocations
@ENDIF

@IF
TURN
turn=114
@THEN
CREATEUNIT
unit=18-Pd Piece
owner=Danes and Norwegians
veteran=no
homecity=none
locations
49,77
50,78
endlocations
@ENDIF

@IF
TURN
turn=114
@THEN
CREATEUNIT
unit=Grenaders
owner=Danes and Norwegians
veteran=no
homecity=none
locations
49,69
48,70
endlocations
@ENDIF

@IF
TURN
turn=114
@THEN
CREATEUNIT
unit=Grenaders
owner=Danes and Norwegians
veteran=no
homecity=none
locations
48,78
51,73
endlocations
@ENDIF

@IF
TURN
turn=123
@THEN
TEXT
^Skilled Swedish General Magnus Stenbock raises an
^army out of nothing, ready to face the enemy!
^He quickly reaches popularity among his men.
ENDTEXT
CREATEUNIT
unit=Stenbock
owner=Swedes
veteran=yes
homecity=none
locations
51,77
50,82
endlocations
@ENDIF

@IF
TURN
turn=137
@THEN
TEXT
^Ottoman Sultan Achmed III declares war on Russia!
ENDTEXT
CREATEUNIT
unit=Ottomans
owner=Ottomans
veteran=yes
homecity=none
locations
113,117
endlocations
JUSTONCE
@ENDIF

@IF
TURN
turn=137
@THEN
CREATEUNIT
unit=Ottomans
owner=Ottomans
veteran=yes
homecity=none
locations
111,117
endlocations
JUSTONCE
@ENDIF

@IF
TURN
turn=137
@THEN
CREATEUNIT
unit=Ottomans
owner=Ottomans
veteran=yes
homecity=none
locations
116,114
endlocations
JUSTONCE
@ENDIF

@IF
TURN
turn=144
@THEN
TEXT
^After numerous successful raids against the Swedish fleet,
^Norwegian Lieutenant Peter Wessel is promoted to Admiral
^and ennobled "Tordenskiold" by King Friderich IV.
ENDTEXT
CREATEUNIT
unit=Tordenskiold
owner=Danes and Norwegians
veteran=yes
homecity=none
locations
50,96
47,75
48,64
endlocations
@ENDIF

@IF
TURN
turn=159
@THEN
TEXT
^Prussian Knig Friedrich I suddenly declares war on Sweden!
^Field Marshal Prince von Anhalt-Dessau leads the Prussian army into Pommern.
ENDTEXT
MAKEAGGRESSION
who=Prussians
whom=Swedes
@ENDIF

@IF
TURN
turn=159
@THEN
CREATEUNIT
unit=von Anhalt-Dessau
owner=Prussians
veteran=true
homecity=none
locations
46,110
51,111
endlocations
@ENDIF

@IF
TURN
turn=159
@THEN
TEXT
^As Elector of Hannover, King George I of England
^declares war on Sweden!
^The Swedish war expenses are increased by 1000 Rdl.
ENDTEXT
CHANGEMONEY
receiver=Swedes
amount=-1000
@ENDIF

@IF
TURN
turn=171
@THEN
TEXT
^The Nawab of Bengal conquers the Danish trading colony of
^Danmarksnagore. Trade income worth 1000 Rdl is lost!
ENDTEXT
CHANGEMONEY
receiver=Danes and Norwegians
amount=-1000
@ENDIF

@IF
TURN
turn=191
@THEN
TEXT
^As Carl XII returns home to Sweden after a long lasting
^campaign abroad, he is shocked to find that his people
^have doubts concerning the outcome of the raging war.
^His -peculiar- words of comfort spread all over Sweden:
^
^"Why are you worried? Both God and I are still alive!"
ENDTEXT
@ENDIF

@IF
TURN
turn=219
@THEN
TEXT
^After 4 years of Danish-Bengali naval war, the colony
^of Danmarksnagore is once again under Danish rule.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Fortress
attacker=anybody
defender=anybody
@THEN
TEXT
^A successfull siege! The defeated defenders are forced
^to pay 350 Rdl to their besiegers to get away alive.
ENDTEXT
CHANGEMONEY
receiver=triggerattacker
amount=350
@ENDIF

@IF
UNITKILLED
unit=Town
attacker=anybody
defender=anybody
@THEN
TEXT
^A town is attacked and burned to the ground!
^The conquered booty is estimated to 500 Rdl.
ENDTEXT
CHANGEMONEY
receiver=triggerattacker
amount=500
@ENDIF

@IF
UNITKILLED
unit=Garrison
attacker=anybody
defender=anybody
@THEN
TEXT
^A military garrison falls to the superior enemy!
^250 Rdl is plundered from the burning barracks.
ENDTEXT
CHANGEMONEY
receiver=triggerattacker
amount=250
@ENDIF

@IF
UNITKILLED
unit=Trade Wagon
attacker=anybody
defender=anybody
@THEN
TEXT
^Ambush! Goods worth 100 Rdl are plundered.
ENDTEXT
CHANGEMONEY
receiver=triggerattacker
amount=100
@ENDIF

@IF
UNITKILLED
unit=Tordenskiold
attacker=Swedes
defender=Danes and Norwegians
@THEN
TEXT
^Admiral Peter W. Tordenskiold is killed in battle!
^After the naval battle, valuables worth 1000 Rdl
^are seized from the defeated Danish fleet.
ENDTEXT
CHANGEMONEY
receiver=Swedes
amount=1000
@ENDIF

@IF
UNITKILLED
unit=Silver Mine
attacker=Swedes
defender=Danes and Norwegians
@THEN
TEXT
^The Swedes have plundered the Koningsbirg silver mines in
^an adventurous raid! Silver worth 5000 Rdl is seized. 
ENDTEXT
CHANGEMONEY
receiver=Swedes
amount=5000
@ENDIF

@IF
UNITKILLED
unit=Silver Mine
attacker=anybody
defender=Swedes
@THEN
TEXT
^The Swedish silver mines in Sala have been plundered in
^an adventurous raid! Silver worth 8000 Rdl is seized.
ENDTEXT
CHANGEMONEY
receiver=triggerattacker
amount=8000
@ENDIF

@IF
UNITKILLED
unit=Reventlow
attacker=Swedes
defender=Danes and Norwegians
@THEN
TEXT
^General Count Christian Reventlow is killed in battle!
^After the bloodbath, valuables worth 1000 Rdl are
^plundered from the Danish baggage train.
ENDTEXT
CHANGEMONEY
receiver=Swedes
amount=1000
@ENDIF

@IF
UNITKILLED
unit=af Gottorp
attacker=anybody
defender=Swedes
@THEN
TEXT
^Duke Friderich af Gottorp is killed in battle!
^500 Rdl are plundered from his baggage train.
ENDTEXT
CHANGEMONEY
receiver=triggerattacker
amount=500
@ENDIF

@IF
UNITKILLED
unit=Stenbock
attacker=anybody
defender=Swedes
@THEN
TEXT
^General Magnus Stenbock is killed in battle!
^Valuables worth 1000 Rdl are plundered from
^the Swedish baggage train.
^
^"Look grim my lads, and the Dane will flee."
^-Stenbock in the battle of Helsingborg-
ENDTEXT
CHANGEMONEY
receiver=triggerattacker
amount=1000
@ENDIF

@IF
UNITKILLED
unit=Lewenhaupt
attacker=anybody
defender=Swedes
@THEN
TEXT
^General Count Adam L. Lewenhaupt is forced to surrender!
^After the battle, valuables worth 3000 Rdl are plundered
^from the Swedish baggage train.
ENDTEXT
CHANGEMONEY
receiver=triggerattacker
amount=3000
@ENDIF

@IF
UNITKILLED
unit=Poniatowszky
attacker=anybody
defender=Swedes
@THEN
TEXT
^Polish General Stanislaw Ciolek Poniatowszky is killed in battle!
^Valuables worth 1000 Rdl are left behind by his retreating army.
ENDTEXT
CHANGEMONEY
receiver=triggerattacker
amount=1000
@ENDIF

@IF
UNITKILLED
unit=Mazepa
attacker=anybody
defender=Swedes
@THEN
TEXT
^Zaporohzian Hetman Ivan Mazepa is defeated in battle!
^Valuables worth 1000 Rdl are plundered from his camp
^after the annihilation of the Zaporohzian army.
ENDTEXT
CHANGEMONEY
receiver=triggerattacker
amount=1000
@ENDIF

@IF
UNITKILLED
unit=Menshikov
attacker=Swedes
defender=Russians
@THEN
TEXT
^General Prince Alexander D. Menshikov is killed in battle!
^2000 Rdl are plundered from the Russian baggage train.
ENDTEXT
CHANGEMONEY
receiver=Swedes
amount=2000
@ENDIF

@IF
UNITKILLED
unit=von Mnnich
attacker=Swedes
defender=Russians
@THEN
TEXT
^General Burkhardt Christoph von Mnnich has fallen!
^After the savage battle, valuables worth 2000 Rdl
^are taken from the Russian baggage train.
ENDTEXT
CHANGEMONEY
receiver=Swedes
amount=2000
@ENDIF

@IF
UNITKILLED
unit=von Anhalt-Dessau
attacker=Swedes
defender=Prussians
@THEN
TEXT
^Field Marshal Prince Leopold von Anhalt-Dessau has fallen!
^After the battle, valuables worth 3000 Rdl are plundered 
^from the Prussian baggage train.
ENDTEXT
CHANGEMONEY
receiver=Swedes
amount=3000
@ENDIF

@IF
UNITKILLED
unit=von Flemming
attacker=Swedes
defender=Poles and Saxons
@THEN
TEXT
^Saxon Lieutenant-General Jakob Heinrich von Flemming 
^is defeated in a field battle!
^2000 Rdl are plundered from the Saxon baggage train.
ENDTEXT
CHANGEMONEY
receiver=Swedes
amount=2000
@ENDIF

@IF
RANDOMTURN
denominator=15
@THEN
TEXT
^Peter the Great increases his Guard with a new elite battalion.
ENDTEXT
CREATEUNIT
unit=Preobrazhenskoye
owner=Russians
veteran=true
homecity=none
locations
141,61
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
TEXT
^Friedrich I commisions a new company into his Guard.
ENDTEXT
CREATEUNIT
unit=Knigliche Garde
owner=Prussians
veteran=true
homecity=none
locations
46,110
51,111
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=30
@THEN
TEXT
^Swedish shipowner family Gathenhielm equips another 
^vessel to prey upon the commerce ships of the enemy. 
ENDTEXT
CREATEUNIT
unit=Gathenhielm Raider
owner=Swedes
veteran=true
homecity=none
locations
47,55
46,52
45,49
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=40
@THEN
TEXT
^Carl XII commisions a new cavalry company into his Lifdrabants.
ENDTEXT
CREATEUNIT
unit=Lifdrabants
owner=Swedes
veteran=true
homecity=none
locations
74,40
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=25
@THEN
TEXT
^Another Danish Ship-of-the-Line enters service.
ENDTEXT
CREATEUNIT
unit=Two Decker
owner=Danes and Norwegians
veteran=true
homecity=none
locations
47,85
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=40
@THEN
TEXT
^Friderich IV increases his Guard with a new company.
ENDTEXT
CREATEUNIT
unit=Koningens Lifgarde
owner=Danes and Norwegians
veteran=true
homecity=none
locations
47,85
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=40
@THEN
TEXT
^August II attempts to reinforce his most important garrison
^with a company of the Guard. 
ENDTEXT
CREATEUNIT
unit=Frstliche Garde
owner=Poles and Saxons
veteran=true
homecity=none
locations
78,12
40,114
endlocations
@ENDIF

@IF
CITYTAKEN
city=bo
attacker=anybody
defender=Swedes
@THEN
TEXT
^bo, provincial capital of Finland, has fallen!
^The victorious enemy army plunders 4000 Rdl.
ENDTEXT
CHANGEMONEY
receiver=triggerattacker
amount=4000
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Novgorod
attacker=Swedes
defender=Russians
@THEN
TEXT
^The city of Novgorod has fallen to the Swedish invader!
^Valuables worth 5000 Rdl are shipped off to Stockholm.
ENDTEXT
CHANGEMONEY
receiver=Swedes
amount=5000
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Kibenhavn
attacker=Swedes
defender=Danes and Norwegians
@THEN
TEXT
^The Swedes have conquered the mighty Danish capital! 
^Friderich IV orders the army to retake Kibenhavn...
ENDTEXT
MOVEUNIT
unit=ANYUNIT
owner=Danes and Norwegians
maprect
21,53,49,53,49,99,21,99
moveto
47,85
numbertomove=ALL
@ENDIF

@IF
CITYTAKEN
city=Stockholm
attacker=anybody
defender=Swedes
@THEN
TEXT
^The mighty capital of King Carl XII has finally fallen!
^The desperate Swedes mobilize their last resources...
ENDTEXT
MOVEUNIT
unit=ANYUNIT
owner=Swedes
maprect
16,0,124,0,124,88,16,88
moveto
74,40
numbertomove=ALL
@ENDIF

@IF
CITYTAKEN
city=Moskva
attacker=Swedes
defender=Russians
@THEN
TEXT
^The tunes of "Marcia Carolus Rex" sound in the streets of Moskva,
^as the last defenders of the Russian capital are defeated!
^Tzar Peter declares all other campaigns as secondary, ordering
^the remnants of the Russian army towards Moskva...
ENDTEXT
MOVEUNIT
unit=ANYUNIT
owner=Russians
maprect
92,0,148,0,148,118,92,118
moveto
141,61
numbertomove=ALL
@ENDIF

@IF
CITYTAKEN
city=Warszawa
attacker=Swedes
defender=Poles and Saxons
@THEN
TEXT
^After the conquest of Warszawa, King Carl XII of Sweden 
^succesfully persuades the Szeym Polski to accept the
^pro-Swedish nobleman Stanislaw Leszcynsky of Posen as
^new Krl, King, of Poland.
^Stanislaw C. Poniatowszky, Polish General of Artillery
^and personal friend of Carl XII, enters Swedish service.
^August II of Poland-Saxony orders his army forth...
ENDTEXT
MOVEUNIT
unit=ANYUNIT
owner=Poles and Saxons
maprect
35,57,111,57,111,119,35,119
moveto
78,12
numbertomove=ALL
@ENDIF

@IF
CITYTAKEN
city=Warszawa
attacker=Swedes
defender=Poles and Saxons
@THEN
CREATEUNIT
unit=Poniatowszky
owner=Swedes
veteran=yes
homecity=none
locations
78,112
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Brandenburg
attacker=Swedes
defender=Prussians
@THEN
TEXT
^Once again, Swedish soldiers stand as victors on German soil!
^Knig Friedrich I orders the reconquest of his Electorate...
ENDTEXT
MOVEUNIT
unit=ANYUNIT
owner=Prussians
maprect
0,92,86,92,86,118,0,118
moveto
46,110
numbertomove=ALL
@ENDIF

@IF
CITYTAKEN
city=Nyen
attacker=Russians
defender=Swedes
@THEN
TEXT
^Tzar Peter the Great declares that Nyen, renamed St. Petersburg,
^shall be the future capital of Russia. A military strongpoint is
^established near Nyen to defend the Tzar's Window to the West.
^Finally, the Russians can start building a navy.
^
^Skilled general Burkhardt von Mnnich, a German in Russian
^service, is appointed General of Infantry by Peter the Great. 
ENDTEXT
CREATEUNIT
unit=Fortress
owner=Russians
veteran=yes
homecity=none
locations
108,28
107,29
108,30
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Nyen
attacker=Russians
defender=Swedes
@THEN
CREATEUNIT
unit=von Mnnich
owner=Russians
veteran=yes
homecity=none
locations
141,61
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Nyen
attacker=Russians
defender=Swedes
@THEN
GIVETECHNOLOGY
receiver=Russians
technology=4
@ENDIF

@IF
CITYTAKEN
city=Nyen
attacker=Russians
defender=Swedes
@THEN
GIVETECHNOLOGY
receiver=Russians
technology=13
@ENDIF

@IF
CITYTAKEN
city=Nyen
attacker=Russians
defender=Swedes
@THEN
GIVETECHNOLOGY
receiver=Russians
technology=30
@ENDIF

@IF
CITYTAKEN
city=Gottorp
attacker=anybody
defender=anybody
@THEN
TEXT
^Duke Friderich af Gottorp flees to Stockholm, driven out
^of Holstein-Gottorp by the Danish army.
ENDTEXT
CREATEUNIT
unit=af Gottorp
owner=Swedes
veteran=yes
homecity=none
locations
74,40
endlocations
JUSTONCE
@ENDIF

@IF
NEGOTIATION
talker=anybody
talkertype=HumanOrComputer
listener=Swedes
listenertype=HumanOrComputer
@THEN

@ENDIF

@IF
NEGOTIATION
talker=Swedes
talkertype=HumanOrComputer
listener=anybody
listenertype=HumanOrComputer
@THEN

@ENDIF

@IF
NEGOTIATION
talker=Prussians
talkertype=HumanOrComputer
listener=Swedes
listenertype=HumanOrComputer
@THEN

@ENDIF

@IF
NEGOTIATION
talker=Swedes
talkertype=HumanOrComputer
listener=Prussians
listenertype=HumanOrComputer
@THEN

@ENDIF

@IF
NEGOTIATION
talker=Prussians
talkertype=HumanOrComputer
listener=anybody
listenertype=HumanOrComputer
@THEN

@ENDIF

@IF
NEGOTIATION
talker=anybody
talkertype=HumanOrComputer
listener=anybody
listenertype=HumanOrComputer
@THEN

@ENDIF

@ENDEVENTS

